package com.binyouwei.designpatterns.structural_type.proxy;

/**
 * @author 宾有为
 * Created on 2024/7/15 15:59
 * Social homepage: https://blog.csdn.net/baidu_41616022
 * @desc 被代理类，表示房东
 **/
public class ProxyLandlord implements ProxyRenter {
    @Override
    public void showHouse() {
        System.out.println("Landlord is showing the house.");
    }

    @Override
    public void signContract() {
        System.out.println("Landlord is signing the contract.");
    }
}
